home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Sample Code / AppsToGo / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_644_a2E2 < prev    next >
Unknown  |  1994-09-22  |  1.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
100% TrID TTComp archive compressed (bin-2K) default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 29 00 00 00 00 00 00 | 00 29 61 32 45 32 00 00 |.)......|.)a2E2..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0f 55 73 65 43 6f | 6e 74 72 6f 6c 53 74 79 |...UseCo|ntrolSty|
|00000060| 6c 65 00 00 06 00 00 00 | 00 00 82 00 00 00 00 00 |le......|........|
|00000070| 00 00 82 00 00 00 14 03 | c1 00 28 05 7e 00 ff 00 |........|..(.~...|
|00000080| 00 00 00 00 00 0f a8 00 | 00 00 00 4e 1c 00 00 00 |........|...N....|
|00000090| 09 00 00 00 04 00 04 ff | fc ff fa 00 04 00 04 ff |........|........|
|000000a0| fc ff fc 00 00 00 00 00 | 00 00 00 83 00 0b 40 10 |........|......@.|
|000000b0| 6b 53 63 72 65 65 6e 41 | 50 49 2f 31 39 39 39 36 |kScreenA|PI/19996|
|000000c0| 00 06 47 65 6e 65 76 61 | 00 00 28 76 6f 69 64 20 |..Geneva|..(void |
|000000d0| 55 73 65 43 6f 6e 74 72 | 6f 6c 53 74 79 6c 65 28 |UseContr|olStyle(|
|000000e0| 43 6f 6e 74 72 6f 6c 48 | 61 6e 64 6c 65 20 63 74 |ControlH|andle ct|
|000000f0| 6c 29 3b 00 00 00 06 00 | 00 00 00 00 a1 00 00 00 |l);.....|........|
|00000100| 00 00 00 00 a1 00 00 00 | 00 03 c1 00 14 05 7e 00 |........|......~.|
|00000110| ff 00 00 00 00 00 00 0f | a8 00 00 00 00 4e 1d 00 |........|.....N..|
|00000120| 00 00 09 00 00 00 04 00 | 04 ff fc ff fa 00 04 00 |........|........|
|00000130| 04 ff fc ff fc 00 00 00 | 00 00 00 00 00 83 00 0b |........|........|
|00000140| 40 14 6b 53 63 72 65 65 | 6e 4f 6e 65 4c 69 6e 65 |@.kScree|nOneLine|
|00000150| 2f 31 39 39 39 37 00 06 | 47 65 6e 65 76 61 00 00 |/19997..|Geneva..|
|00000160| 43 53 65 74 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c |CSet the| control|
|00000170| 27 73 20 67 72 61 66 50 | 6f 72 74 27 73 20 66 6f |'s grafP|ort's fo|
|00000180| 6e 74 20 69 6e 66 6f 20 | 74 6f 20 74 68 61 74 20 |nt info |to that |
|00000190| 75 73 65 64 20 62 79 20 | 74 68 65 20 63 6f 6e 74 |used by |the cont|
|000001a0| 72 6f 6c 2e 00 00 00 06 | 00 00 00 00 00 44 00 00 |rol.....|.....D..|
|000001b0| 00 00 00 00 00 44 00 00 | 00 00 02 6b 04 40 02 6c |.....D..|...k.@.l|
|000001c0| 01 00 00 00 00 00 00 01 | 0f f1 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 0c 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 06 00 00 00 00 |........|........|
|00000200| 00 90 00 00 00 00 00 00 | 00 90 00 00 00 00 02 6b |........|.......k|
|00000210| 02 28 03 c1 00 ff 00 00 | 00 00 00 00 0f a8 00 00 |.(......|........|
|00000220| 00 00 4e 16 00 00 00 09 | 00 00 00 04 00 04 ff fc |..N.....|........|
|00000230| ff fa 00 04 00 04 ff fc | ff fc 00 00 00 00 00 00 |........|........|
|00000240| 00 00 83 00 0b 40 0b 6c | 69 6e 6b 73 2f 31 39 39 |.....@.l|inks/199|
|00000250| 39 30 00 06 4d 6f 6e 61 | 63 6f 00 00 25 61 31 37 |90..Mona|co..%a17|
|00000260| 42 2c 43 54 45 50 75 74 | 50 53 74 72 0d 61 32 45 |B,CTEPut|PStr.a2E|
|00000270| 32 2c 55 73 65 43 6f 6e | 74 72 6f 6c 53 74 79 6c |2,UseCon|trolStyl|
|00000280| 65 0d 00 16 00 01 00 00 | 00 00 00 10 00 0c 00 01 |e.......|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 06 00 00 00 00 |........|........|
|000002a0| 04 1b 00 00 00 00 00 00 | 04 1b 00 00 00 00 00 00 |........|........|
|000002b0| 75 30 02 6b 01 ff 00 00 | 00 00 00 00 0f a8 00 00 |u0.k....|........|
|000002c0| 00 00 4e 1f 00 00 00 09 | 00 00 00 04 00 04 ff fc |..N.....|........|
|000002d0| ff fa 00 04 00 04 ff fc | ff fc 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 83 00 0b 40 0a 62 | 6f 64 79 2f 31 39 39 39 |.....@.b|ody/1999|
|000002f0| 39 00 06 4d 6f 6e 61 63 | 6f 00 03 61 76 6f 69 64 |9..Monac|o..avoid|
|00000300| 20 55 73 65 43 6f 6e 74 | 72 6f 6c 53 74 79 6c 65 | UseCont|rolStyle|
|00000310| 28 43 6f 6e 74 72 6f 6c | 48 61 6e 64 6c 65 20 63 |(Control|Handle c|
|00000320| 74 6c 29 3b 0d 0d 20 20 | 20 20 46 69 6c 65 3a 20 |tl);.. | File: |
|00000330| 55 74 69 6c 69 74 69 65 | 73 2e 68 0d 0d 49 4e 50 |Utilitie|s.h..INP|
|00000340| 55 54 3a 20 20 63 74 6c | 20 20 20 20 20 54 68 65 |UT: ctl| The|
|00000350| 20 63 6f 6e 74 72 6f 6c | 20 77 68 6f 73 65 20 66 | control| whose f|
|00000360| 6f 6e 74 20 69 6e 66 6f | 20 69 73 20 74 6f 20 62 |ont info| is to b|
|00000370| 65 20 70 75 74 20 69 6e | 74 6f 20 74 68 65 20 70 |e put in|to the p|
|00000380| 6f 72 74 2e 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ort.. | |
|00000390| 20 20 20 20 20 49 66 20 | 6e 69 6c 20 69 73 20 70 | If |nil is p|
|000003a0| 61 73 73 65 64 20 69 6e | 2c 20 74 68 65 20 69 6e |assed in|, the in|
|000003b0| 66 6f 20 66 6f 72 20 74 | 68 61 74 20 70 6f 72 74 |fo for t|hat port|
|000003c0| 20 69 73 20 72 65 73 65 | 74 2e 0d 0d 54 68 69 73 | is rese|t...This|
|000003d0| 20 63 61 6c 6c 20 73 68 | 6f 75 6c 64 20 62 72 61 | call sh|ould bra|
|000003e0| 63 6b 65 74 20 64 69 72 | 65 63 74 20 75 73 65 73 |cket dir|ect uses|
|000003f0| 20 6f 66 20 61 20 63 6f | 6e 74 72 6f 6c 2e 20 20 | of a co|ntrol. |
|00000400| 46 6f 72 20 65 78 61 6d | 70 6c 65 3a 0d 20 20 20 |For exam|ple:. |
|00000410| 20 55 73 65 43 6f 6e 74 | 72 6f 6c 53 74 79 6c 65 | UseCont|rolStyle|
|00000420| 28 74 65 43 74 6c 29 3b | 0d 20 20 20 20 43 54 45 |(teCtl);|. CTE|
|00000430| 50 75 74 50 73 74 72 28 | 74 65 43 74 6c 2c 20 22 |PutPstr(|teCtl, "|
|00000440| 5c 70 54 68 69 73 20 69 | 73 20 74 68 65 20 6e 65 |\pThis i|s the ne|
|00000450| 77 20 54 65 78 74 45 64 | 69 74 20 63 6f 6e 74 72 |w TextEd|it contr|
|00000460| 6f 6c 20 74 65 78 74 2e | 22 29 3b 0d 20 20 20 20 |ol text.|");. |
|00000470| 55 73 65 43 6f 6e 74 72 | 6f 6c 53 74 79 6c 65 28 |UseContr|olStyle(|
|00000480| 6e 69 6c 29 3b 0d 0d 57 | 68 65 6e 65 76 65 72 20 |nil);..W|henever |
|00000490| 61 20 54 65 78 74 45 64 | 69 74 20 63 6f 6e 74 72 |a TextEd|it contr|
|000004a0| 6f 6c 20 68 61 73 20 69 | 74 73 20 74 65 78 74 20 |ol has i|ts text |
|000004b0| 63 6f 6d 70 6c 65 74 65 | 6c 79 20 72 65 70 6c 61 |complete|ly repla|
|000004c0| 63 65 64 2c 20 61 73 20 | 43 54 45 50 75 74 50 53 |ced, as |CTEPutPS|
|000004d0| 74 72 20 64 6f 65 73 2c | 20 74 68 65 0d 66 6f 6e |tr does,| the.fon|
|000004e0| 74 20 74 68 61 74 20 74 | 68 65 20 54 65 78 74 45 |t that t|he TextE|
|000004f0| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 20 69 73 20 73 |dit cont|rol is s|
|00000500| 65 74 20 74 6f 20 69 73 | 20 77 68 61 74 65 76 65 |et to is| whateve|
|00000510| 72 20 69 73 20 69 6e 20 | 74 68 65 20 67 72 61 66 |r is in |the graf|
|00000520| 50 6f 72 74 2e 20 20 54 | 68 65 72 65 66 6f 72 65 |Port. T|herefore|
|00000530| 20 62 79 0d 63 61 6c 6c | 69 6e 67 20 55 73 65 43 | by.call|ing UseC|
|00000540| 6f 6e 74 72 6f 6c 53 74 | 79 6c 65 20 70 72 69 6f |ontrolSt|yle prio|
|00000550| 72 20 74 6f 20 43 54 45 | 50 75 74 50 53 74 72 2c |r to CTE|PutPStr,|
|00000560| 20 77 65 20 70 6c 61 63 | 65 20 74 68 65 20 54 65 | we plac|e the Te|
|00000570| 78 74 45 64 69 74 27 73 | 20 63 75 73 74 6f 6d 20 |xtEdit's| custom |
|00000580| 66 6f 6e 74 20 69 6e 74 | 6f 0d 74 68 65 20 67 72 |font int|o.the gr|
|00000590| 61 66 50 6f 72 74 2e 20 | 20 54 68 65 20 73 65 63 |afPort. | The sec|
|000005a0| 6f 6e 64 20 63 61 6c 6c | 20 74 6f 20 55 73 65 43 |ond call| to UseC|
|000005b0| 6f 6e 74 72 6f 6c 53 74 | 79 6c 65 20 72 65 73 74 |ontrolSt|yle rest|
|000005c0| 6f 72 65 73 20 74 68 65 | 20 67 72 61 66 50 6f 72 |ores the| grafPor|
|000005d0| 74 27 73 20 70 72 65 76 | 69 6f 75 73 20 76 61 6c |t's prev|ious val|
|000005e0| 75 65 73 2e 0d 4e 6f 74 | 65 20 74 68 61 74 20 55 |ues..Not|e that U|
|000005f0| 73 65 43 6f 6e 74 72 6f | 6c 53 74 79 6c 65 20 73 |seContro|lStyle s|
|00000600| 61 76 65 73 20 74 68 65 | 20 69 6e 66 6f 72 6d 61 |aves the| informa|
|00000610| 74 69 6f 6e 20 74 6f 20 | 72 65 73 74 6f 72 65 20 |tion to |restore |
|00000620| 69 6e 20 67 6c 6f 62 61 | 6c 73 2c 20 73 6f 20 64 |in globa|ls, so d|
|00000630| 6f 6e 27 74 20 74 72 79 | 20 74 6f 0d 6e 65 73 74 |on't try| to.nest|
|00000640| 20 63 61 6c 6c 73 20 74 | 6f 20 55 73 65 43 6f 6e | calls t|o UseCon|
|00000650| 74 72 6f 6c 53 74 79 6c | 65 2e 0d 0d 0d 00 66 00 |trolStyl|e.....f.|
|00000660| 05 00 00 00 00 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|00000670| 00 00 00 00 00 00 00 01 | cc 00 0b 00 09 00 04 05 |........|........|
|00000680| 00 00 09 00 00 00 00 00 | 00 00 00 01 d6 00 0b 00 |........|........|
|00000690| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 02 |........|........|
|000006a0| 59 00 0b 00 09 00 04 05 | 00 00 09 00 00 00 00 00 |Y.......|........|
|000006b0| 00 00 00 02 63 00 0b 00 | 09 00 04 00 00 00 09 00 |....c...|........|
|000006c0| 00 00 00 00 00 | |..... | |
+--------+-------------------------+-------------------------+--------+--------+